home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d20 / tway_131.arc / THRUWAY.DOC < prev    next >
Text File  |  1991-11-04  |  24KB  |  330 lines

  1.  
  2.            ┌───────────────────────────────────────────────────────────────┐
  3. ▒▒▒▒▒──────┤ ThruWay v1.31: An Echomail PassThru Maintenance Utility       │
  4.            ├───────────────────────────────────────────────────────────────┤
  5.            │ Copyright (c) 1991, by SomaSystems[tm] and                    │
  6.            │ Bill Thomas, FidoNet Node 1:326/100                           │
  7.            └───────────────────────────────────────────────────────────────┘
  8.  
  9.            ┌───────────────────────────────────────────────────────────────┐
  10. ▒▒▒▒▒──────┤ Warranty & Limitation of Liability                            │
  11.            ├───────────────────────────────────────────────────────────────┤
  12.            │ ThruWay is not warranted. By installing and using ThruWay,    │
  13.            │ you accept the fact that the author makes no representations  │
  14.            │ of any kind regarding the suitability or reliability of this  │
  15.            │ utility for your intended use and that in no event shall the  │
  16.            │ author bear any responsibility for any effects or actions of  │
  17.            │ ThruWay on your computer.                                     │
  18.            └───────────────────────────────────────────────────────────────┘
  19.  
  20.            ┌───────────────────────────────────────────────────────────────┐
  21. ▒▒▒▒▒──────┤ Overview: What Is ThruWay?                                    │
  22.            ├───────────────────────────────────────────────────────────────┤
  23.            │ ThruWay examines your echomail control file to determine if   │
  24.            │ there are listed pass-through areas for which there are no    │
  25.            │ longer any listed destination nodes. This situation can occur │
  26.            │ quite frequently for hub operators whose downstream nodes use │ 
  27.            │ AreaFix to turn echos on and off remotely. If all nodes turn  │
  28.            │ off a given echo, the result is a dead-ended echo that still  │
  29.            │ continues to be imported by the hub for no reason.            │
  30.            │                                                               │
  31.            │ ThruWay will create messages addressed to AreaFix at the echo │
  32.            │ hosts to turn off dead-ended echos. If more than one echo is  │
  33.            │ located for a given host node, ThruWay will group them all    │
  34.            │ into a single message to the echo host. The echo area entry   │
  35.            │ is removed from the echo control file, and if requested, the  │
  36.            │ related subdirectory (if applicable) is deleted. You can also │
  37.            │ control whether ThruWay removes dead-ended echos that are     │
  38.            │ associated with certain nodes as explained in the config file │
  39.            │ documentation.                                                │
  40.            │                                                               │
  41.            │ Finally, ThruWay will optionally scan your bad message sub-   │
  42.            │ directory and remove echo messages associated with areas that │
  43.            │ were recently dropped. You can set a bad message deletion     │
  44.            │ interval of from 1 to 30 days. During this time any messages  │
  45.            │ received in an echo that has been turned off by ThruWay and   │
  46.            │ which is not listed in your active echo control file will be  │
  47.            │ automatically deleted from the bad message subdirectory.      │
  48.            │                                                               │
  49.            │ ThruWay is coded to be fully zone- and point-aware, but has   │
  50.            │ only been fully tested in a single zone environment. If you   │
  51.            │ find any inter-zone problems, let us know and we'll fix 'em.  │
  52.            └───────────────────────────────────────────────────────────────┘
  53.  
  54.  
  55.            ┌───────────────────────────────────────────────────────────────┐
  56. ▒▒▒▒▒──────┤ Supported Echo Control File Formats                           │
  57.            ├───────────────────────────────────────────────────────────────┤
  58.            │ ThruWay supports ZMail, QEcho, QMail, and old Opus/OMMM echo  │
  59.            │ control file formats (often called AREAS.BBS files). Formats  │
  60.            │ of each control file type are as follows:                     │
  61.            │                                                               │
  62.            │   1.  The QMail style format:                                 │
  63.            │                                                               │
  64.            │       [#]Path EchoName EchoHost EchoDests                     │
  65.            │                                                               │
  66.            │       Example:                                                │
  67.            │       .                                                       │
  68.            │       C:\Binkley\Msgs\For-Sale FOR-SALE 326/100 200 301 302   │
  69.            │       #C:\Binkley\Msgs\Radio   RADIO    326/100 200 302       │
  70.            │       .                                                       │
  71.            │                                                               │
  72.            │   2.  The ZMail/QEcho style format:                           │
  73.            │                                                               │
  74.            │       [P|AreaNumber] EchoName EchoHost EchoDests              │
  75.            │                                                               │
  76.            │       Example:                                                │
  77.            │       .                                                       │
  78.            │       1 FOR-SALE 326/100 200 301 302                          │
  79.            │       P RADIO    326/100 200 302                              │
  80.            │       .                                                       │
  81.            │                                                               │
  82.            │   3.  The old Opus/OMMM style format:                         │
  83.            │                                                               │
  84.            │       AreaNumber EchoPath EchoName [#] EchoHost EchoDests     │
  85.            │                                                               │
  86.            │       Example:                                                │
  87.            │       .                                                       │
  88.            │       0001 C:\Binkley\Msgs\For-Sale FOR-SALE 326/100 200 301  │
  89.            │       0254 C:\Binkley\Msgs\Radio    RADIO #  326/100 200 302  │
  90.            │       .                                                       │
  91.            └───────────────────────────────────────────────────────────────┘
  92.  
  93.  
  94.            ┌───────────────────────────────────────────────────────────────┐
  95. ▒▒▒▒▒──────┤ Installing & Running ThruWay                                  │
  96.            ├───────────────────────────────────────────────────────────────┤
  97.            │ To install ThruWay, place ThruWay.Exe in a directory on your  │
  98.            │ DOS path, preferably wherever you keep your other echomail    │
  99.            │ utilities. Then edit the ThruWay.Cfg configuration file to    │
  100.            │ reflect appropriate entries for your system, as discussed in  │
  101.            │ the configuration file section of this document. Place the    │
  102.            │ ThruWay.Cfg file in the directory from which ThruWay will be  │
  103.            │ normally invoked (the default directory) or you may place it  │
  104.            │ in any other directory you choose if you specify a full path  │
  105.            │ to the configuration file on the command line.                │
  106.            │                                                               │
  107.            │ In most cases, ThruWay will be invoked by the batch file that │
  108.            │ performs your echomail processing or daily maintenance jobs.  │
  109.            │ ThruWay must be run *after* your mail tosser and after Area-  │
  110.            │ Fix, especially if you are using AreaFix's queue management   │
  111.            │ feature (see "Special Considerations" below for more info).   │
  112.            │                                                               │
  113.            │ The command line to run ThruWay is as follows:                │
  114.            │                                                               │
  115.            │   ThruWay [Path:CfgFile] [/NoPause] [/Quiet] [/Status] [/?]   │
  116.            │                                                               │
  117.            │ The optional command line parameters specify a path and file  │
  118.            │ name for an alternate ThruWay configuration file if you wish  │
  119.            │ to override the default; whether ThruWay should omit slight   │
  120.            │ pauses which it inserts in status reports which are displayed │
  121.            │ to the screen; if you wish to suppress error alert beeps      │
  122.            │ (good for batch mode operations); and if you wish to have     │
  123.            │ ThruWay put a status report in your netmail inbox to let you  │
  124.            │ know the state of your echomail areas.                        │
  125.            │                                                               │
  126.            │ Since ThruWay runs rather quickly, it is recommended that you │
  127.            │ not use /NoPause until you have tested ThruWay and you are    │
  128.            │ satisfied that it is performing to your satisfaction.         │
  129.            │                                                               │
  130.            │ Entering /? or /Help on the command line displays a brief     │
  131.            │ summary of the ThruWay command line and config file options.  │
  132.            └───────────────────────────────────────────────────────────────┘
  133.  
  134.            ┌───────────────────────────────────────────────────────────────┐
  135. ▒▒▒▒▒──────┤ The ThruWay.Cfg Configuration File                            │
  136.            ├───────────────────────────────────────────────────────────────┤
  137.            │ There are several parameters in the ThruWay config file, of   │
  138.            │ which one may occur multiple times.                           │
  139.            │                                                               │
  140.            │ Parameter    Description                                      │
  141.            │ ─────────    ──────────────────────────────────────────────── │
  142.            │ Address      Your system's network address in the form        │
  143.            │              Zone:Net/Node (e.g., 1:326/100). Required.       │
  144.            │                                                               │
  145.            │ AlertNoPwd   If a dead end echo is found in your echo control │
  146.            │              file and there is no matching node for that echo │
  147.            │              in your EchoHost list in the ThruWay.Cfg file,   │
  148.            │              ThruWay will not send an AreaFix message to that │
  149.            │              host. However, ThruWay will optionally send you  │
  150.            │              an informative netmail "alert message" if you    │
  151.            │              set AlertNoPwd to "Yes". Optional.               │
  152.            │                                                               │
  153.            │ AreaFile     The path and name of your echomail control file, │
  154.            │              in the form Drive:Path\FileName (e.g.,           │
  155.            │              C:\BBS\Areas.BBS). Required.                     │
  156.            │                                                               │
  157.            │ AreaFormat   The type of echo control file which ThruWay is   │
  158.            │              to process. The current supported values for the │
  159.            │              parameter are "P", "#", or "O", for ZMail/QEcho, │
  160.            │              QMail, & OMMM formats respectively. Required.    │
  161.            │                                                               │
  162.            │ BadPath      The path to your mail tosser's bad message sub-  │
  163.            │              directory in the form Drive:\Path (trailing "\"  │
  164.            │              optional). Required if RemoveBad="Yes".          │
  165.            │                                                               │
  166.            │ BadHisDays   Specifies the number of days, from 1 to 30, for  │
  167.            │              which ThruWay will keep a note of each passthru  │
  168.            │              echo it has dropped. This value determines how   │
  169.            │              messages arriving for a dropped echo will be     │
  170.            │              handled by the RemoveBad option of ThruWay. If   │
  171.            │              RemoveBad is enabled, and a record of dropping   │
  172.            │              the echo is still listed in ThruWay's history,   │
  173.            │              the bad message will be deleted for you. If the  │
  174.            │              bad message arrives after BadHisDays has passed, │
  175.            │              ThruWay will simply tell you about the message,  │
  176.            │              but will not delete it from the bad message sub- │
  177.            │              directory.                                       │
  178.            │                                                               │
  179.            └──────────────────{Continued on next page}─────────────────────┘
  180.  
  181.  
  182.            ┌───────────────────────────────────────────────────────────────┐
  183. ▒▒▒▒▒──────┤ The ThruWay.Cfg Configuration File (Continued)                │
  184.            ├───────────────────────────────────────────────────────────────┤
  185.            │                                                               │
  186.            │ EchoHost     Format: EchoHost HostAddress Password Flags      │
  187.            │                                                               │
  188.            │              Each occurrence specifies the network address of │
  189.            │              an echomail host, your AreaFix password for the  │
  190.            │              specified host, and the message handling flags   │
  191.            │              to be set for the messages created by ThruWay    │
  192.            │              for the specified host. Required.                │
  193.            │                                                               │
  194.            │              Valid message handling flags are: [Crash|Hold|   │
  195.            │              Norm] and [KillSent|Keep]. If flags are omitted  │
  196.            │              the default flags Crash/Keep are used.           │
  197.            │                                                               │
  198.            │ NetMail      The path to your system mail message directory   │
  199.            │              in the form Drive:\Path (trailing "\" optional). │
  200.            │              ThruWay will place the .MSG files it creates in  │
  201.            │              this directory. (e.g., D:\Mail\Out). Required.   │
  202.            │                                                               │
  203.            │ Notify       The sysop name and node number of your point or  │
  204.            │              another node to which copies of ThruWay status   │
  205.            │              reports and error messages will be sent if you   │
  206.            │              specify this optional parameter. See sample.     │
  207.            │                                                               │
  208.            │ RemoveBad    Set to "Yes" if you wish to have ThruWay delete  │
  209.            │              messages for echos that were recently dropped    │
  210.            │              and which were placed in your bad message sub-   │
  211.            │              directory by your mail tosser. ThruWay will not  │
  212.            │              touch bad messages in echos that were not turned │
  213.            │              off by by ThruWay, but it will tell you about    │
  214.            │              them in a status report.                         │
  215.            │                                                               │
  216.            │ RemoveDirs   If you are running a QMail style system where    │
  217.            │              subdirectories are created for all echos, you    │
  218.            │              can set this switch to "Yes" to have ThruWay     │
  219.            │              remove the subdirectories for you. The default   │
  220.            │              value is "No".  Optional.                        │
  221.            └───────────────────────────────────────────────────────────────┘
  222.  
  223.  
  224.            ┌───────────────────────────────────────────────────────────────┐
  225. ▒▒▒▒▒──────┤ DOS Exit ErrorLevels                                          │
  226.            ├───────────────────────────────────────────────────────────────┤
  227.            │ ThruWay returns the following DOS Exit ErrorLevels which may  │
  228.            │ be used in batch files to determine subsequent actions based  │
  229.            │ on ThruWay results:                                           │
  230.            │                                                               │
  231.            │  DOS ErrorLevel  Description                                  │
  232.            │  ──────────────  ─────────────────────────────────────────    │
  233.            │        0         ThruWay ran to normal completion without     │
  234.            │                  errors; no passthru echos were dropped.      │
  235.            │                                                               │
  236.            │        1         No passthru echos were dropped; ThruWay      │
  237.            │                  generated non-fatal warning error messages.  │
  238.            │                                                               │
  239.            │        2         Some passthru echos were dropped; ThruWay    │
  240.            │                  generated non-fatal warning error messages.  │
  241.            │                                                               │
  242.            │        3         Some passthru echos were dropped; no error   │
  243.            │                  message conditions occurred.                 │
  244.            │                                                               │
  245.            │       99         A fatal error caused ThruWay to abort prior  │
  246.            │                  to normal completion.                        │
  247.            └───────────────────────────────────────────────────────────────┘
  248.  
  249.                           
  250.            ┌───────────────────────────────────────────────────────────────┐
  251. ▒▒▒▒▒──────┤ Special Considerations                                        │
  252.            ├───────────────────────────────────────────────────────────────┤
  253.            │ Some users report that the queue management facility of the   │
  254.            │ widely-used AreaFix utility has a small bug. We have not been │
  255.            │ able to duplicate this on our system, but apparently in some  │
  256.            │ cases AreaFix does not insert node distribution information   │
  257.            │ in a QEcho-style control file when AreaFix encounters a newly │ 
  258.            │ arrived echo area in the bad message directory for which a    │
  259.            │ pending .QUE entry is present. In such cases AreaFix inserts  │
  260.            │ only the echoname and host node info into the echo control    │
  261.            │ file on its first run; the next time AreaFix runs, it removes │
  262.            │ the destination node entry(s) from its queue (AreaFix.Que)    │
  263.            │ and updates the recipient node data in the echo control file. │
  264.            │                                                               │
  265.            │ If this occurs with your system setup you should invoke Area- │
  266.            │ Fix twice in your mail handling batch file before you run     │
  267.            │ ThruWay in order to avoid having ThruWay turn off an echo     │
  268.            │ which the AreaFix queue manager has partially restored.       │
  269.            │                                                               │
  270.            │ This apparently occurs only with QEcho-style control files.   │
  271.            └───────────────────────────────────────────────────────────────┘
  272.                           
  273.            ┌───────────────────────────────────────────────────────────────┐
  274. ▒▒▒▒▒──────┤ ShareWare Notice                                              │
  275.            ├───────────────────────────────────────────────────────────────┤
  276.            │ ThruWay is copyrighted by SomaSystems[tm] and is a shareware  │
  277.            │ utility. The following shareware fees apply to the use of     │
  278.            │ this utility:                                                 │
  279.            │                                                               │
  280.            │  Type Of Usage                               ShareWare Fee    │
  281.            │  ───────────────────────────────────────     ─────────────    │
  282.            │  BBS's and echomail hubs that are not                         │
  283.            │  operating for the purpose of making a                        │
  284.            │  profit                                          - 0 -        │
  285.            │                                                               │
  286.            │  BBS's and echomail hubs which charge                         │
  287.            │  fees and are operated for the purpose                        │
  288.            │  of making a profit                              $ 15.  *─┐   │
  289.            │                                                           │   │
  290.            │  BBS's operated by corporations or by                     │   │
  291.            │  any government department                       $ 25.  *─┤   │
  292.            │┌──────────────────────────────────────────────────────────┘   │
  293.            │└> *  Please remit appropriate shareware fees to Bill Thomas,  │
  294.            │   *  SomaSystems, PO Box 171, Kittery Point, ME 03905.        │
  295.            └───────────────────────────────────────────────────────────────┘
  296.  
  297.  
  298.            ┌───────────────────────────────────────────────────────────────┐
  299. ▒▒▒▒▒──────┤ Support and Enhancements                                      │
  300.            ├───────────────────────────────────────────────────────────────┤
  301.            │ If you have questions about ThruWay, please feel free to send │
  302.            │ netmail to Bill Thomas at FidoNet address 1:326/100. We will  │
  303.            │ do our best to respond promptly. Please send along any bug    │
  304.            │ reports also!                                                 │
  305.            │                                                               │
  306.            │ Note: ThruWay was created with an E.T. personality. At some   │
  307.            │ time during it's lifetime of use on your BBS, ThruWay may     │
  308.            │ send one brief message back to its home planet, just to let   │
  309.            │ us know its running okay. Don't be alarmed...it really won't  │
  310.            │ steal your umbrella, your phonograph, or your kids! If it     │
  311.            │ does generate such a message, it will be flagged as a normal  │
  312.            │ priority message for host-routing by your mail handler; it    │
  313.            │ will not cause your system to make a crashmail toll call.     │
  314.            │                                                               │
  315.            │ If you would like enhancements and new features incorporated  │
  316.            │ into ThruWay, let us know. We'll do our best to accommodate   │
  317.            │ your requests.                                                │
  318.            └───────────────────────────────────────────────────────────────┘
  319.  
  320.            ┌───────────────────────────────────────────────────────────────┐
  321. ▒▒▒▒▒──────┤ Acknowledgements                                              │
  322.            ├───────────────────────────────────────────────────────────────┤
  323.            │ Our thanks to beta testers Wayne Price and Paul Shoop, and    │
  324.            │ a very special acknowledgement to Gordon Green for his many   │
  325.            │ excellent suggestions. Thanks also of course to Tom Jennings  │
  326.            │ for inventing this FidoNet madness, and to Jeff Rush for      │
  327.            │ thinking up (what hath he wrought!) EchoMail.                 │
  328.            └───────────────────────────────────────────────────────────────┘
  329.  
  330.